package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题库对象 q_knowkedg
 * 
 * @author ruoyi
 * @date 2024-06-11
 */

public class QKnowkedg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识id */
    @Excel(name = "类别")
    private Long knowledgId;

    /** 类别 */
    @Excel(name = "类别")
    private String type;

    /** 用户问题 */
    @Excel(name = "用户问题")
    private String question;

    /** 答案1 */
    @Excel(name = "答案1")
    private String answer1;

    /** 答案2 */
    @Excel(name = "答案2")
    private String answer2;

    /** 答案3 */
    @Excel(name = "答案3")
    private String answer3;

    public void setKnowledgId(Long knowledgId) 
    {
        this.knowledgId = knowledgId;
    }

    public Long getKnowledgId() 
    {
        return knowledgId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setAnswer1(String answer1) 
    {
        this.answer1 = answer1;
    }

    public String getAnswer1() 
    {
        return answer1;
    }
    public void setAnswer2(String answer2) 
    {
        this.answer2 = answer2;
    }

    public String getAnswer2() 
    {
        return answer2;
    }
    public void setAnswer3(String answer3) 
    {
        this.answer3 = answer3;
    }

    public String getAnswer3() 
    {
        return answer3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("knowledgId", getKnowledgId())
            .append("type", getType())
            .append("question", getQuestion())
            .append("answer1", getAnswer1())
            .append("answer2", getAnswer2())
            .append("answer3", getAnswer3())
            .toString();
    }
}
